import { request } from '@/common/utils/request'

// 审批查询（账户审批 名录审批 类别审批 其他审批）
export const getApproveListApi = (data) => {
	return request({
		url: '/biz/auditProcessRecords/page',
		method: 'GET',
		data,
	})
}

// 审批查询（账户审批 名录审批 类别审批 其他审批）
export const auditProcessRecordsDetail = (data) => {
	return request({
		url: '/biz/auditProcessRecords/detail',
		method: 'GET',
		data,
	})
}

// 提交审核（账户审批 名录审批 类别审批 其他审批）
export const sumbitApprove = (data) => {
	return request({
		url: '/biz/auditProcessRecords/audit',
		method: 'POST',
		data,
	})
}

// 盛具容器详情
export const containerDetail = (data) => {
	return request({
		url: 'biz/container/detail',
		method: 'GET',
		data,
	})
}

// 获取产生单位下拉列表
export const bizSelectList = (data) => {
	return request({
		url: '/biz/produceUnit/getSelectList',
		method: 'GET',
		data,
	})
}

// 产生部门选择器
export const deptSelector = (data) => {
	return request({
		url: '/biz/produceUnit/deptSelector',
		method: 'GET',
		data,
	})
}

// 产生数据删除申请
export const wasteDeleteDetail = (data) => {
	return request({
		url: '/biz/auditProcessRecords/wasteDeleteDetail',
		method: 'GET',
		data,
	})
}
// 重量手动输入
export const terminalDevicesDetail = (data) => {
	return request({
		url: '/biz/terminalDevices/detail',
		method: 'GET',
		data,
	})
}
